/* *****************************************************************************
 * JFab (http://code.google.com/p/jfab)
 * Copyright (c) 2011 JFab.org
 * Admin jfab@jeffreythompson.net
 *
 * See the file "LICENSE.txt" for information on usage and redistribution of
 * this file, and for a DISCLAIMER OF ALL WARRANTIES.
 * *****************************************************************************/


package org.jfab.core.alert;

import java.io.Serializable;

import java.util.Date;
import java.util.List;


/**
 * The persistent class for the ALERT database table.
 */
public class Alert implements Serializable
{
    /** Serial version UID. */
    private static final long serialVersionUID = 1L;

    /** Alert details. */
    private List<AlertDetail> alertDetails;

    /** Alert ID. */
    private long alertId;

    /** Alert status. */
    private AlertStatus alertStatus;

    /** Code. */
    private String code;

    /** Create date. */
    private Date createDate;

    /** Created by. */
    private String createdBy;

    /** Node. */
    private String node;

    /** Role. */
    private String role;

    /** Tracking key. */
    private String trackingKey;

    /** Update date. */
    private Date updateDate;

    /** Updated by. */
    private String updatedBy;

    /**
     * Construct this object.
     */
    public Alert()
    {
        // Nothing to do.
    }

    /**
     * @return  data
     */
    public List<AlertDetail> getAlertDetails()
    {
        return this.alertDetails;
    }

    /**
     * @return  data
     */
    public long getAlertId()
    {
        return this.alertId;
    }

    /**
     * @return  data
     */
    public AlertStatus getAlertStatus()
    {
        return this.alertStatus;
    }

    /**
     * @return  data
     */
    public String getCode()
    {
        return this.code;
    }

    /**
     * @return  data
     */
    public Date getCreateDate()
    {
        return this.createDate;
    }

    /**
     * @return  data
     */
    public String getCreatedBy()
    {
        return this.createdBy;
    }

    /**
     * @return  data
     */
    public String getNode()
    {
        return this.node;
    }

    /**
     * @return  data
     */
    public String getRole()
    {
        return this.role;
    }

    /**
     * @return  data
     */
    public String getTrackingKey()
    {
        return this.trackingKey;
    }

    /**
     * @return  data
     */
    public Date getUpdateDate()
    {
        return this.updateDate;
    }

    /**
     * @return  data
     */
    public String getUpdatedBy()
    {
        return this.updatedBy;
    }

    /**
     * @param  alertDetailsIn  Data.
     */
    public void setAlertDetails(List<AlertDetail> alertDetailsIn)
    {
        this.alertDetails = alertDetailsIn;
    }

    /**
     * @param  alertIdIn  Data.
     */
    public void setAlertId(long alertIdIn)
    {
        this.alertId = alertIdIn;
    }

    /**
     * @param  alertStatusIn  Data.
     */
    public void setAlertStatus(AlertStatus alertStatusIn)
    {
        this.alertStatus = alertStatusIn;
    }

    /**
     * @param  codeIn  Data.
     */
    public void setCode(String codeIn)
    {
        this.code = codeIn;
    }

    /**
     * @param  createDateIn  Data.
     */
    public void setCreateDate(Date createDateIn)
    {
        this.createDate = createDateIn;
    }

    /**
     * @param  createdByIn  Data.
     */
    public void setCreatedBy(String createdByIn)
    {
        this.createdBy = createdByIn;
    }

    /**
     * @param  nodeIn  Data.
     */
    public void setNode(String nodeIn)
    {
        this.node = nodeIn;
    }

    /**
     * @param  roleIn  Data.
     */
    public void setRole(String roleIn)
    {
        this.role = roleIn;
    }

    /**
     * @param  trackingKeyIn  Data.
     */
    public void setTrackingKey(String trackingKeyIn)
    {
        this.trackingKey = trackingKeyIn;
    }

    /**
     * @param  updateDateIn  Data.
     */
    public void setUpdateDate(Date updateDateIn)
    {
        this.updateDate = updateDateIn;
    }

    /**
     * @param  updatedByIn  Data.
     */
    public void setUpdatedBy(String updatedByIn)
    {
        this.updatedBy = updatedByIn;
    }
}
